package com.skillworld.webapp.model.courseservice;

public class AlreadyFinishedCourseException extends Exception {
	
    private Long courseId;
    private Long idStudent;
    
    public AlreadyFinishedCourseException(Long courseId, Long idStudent)
    {
        super("User" + idStudent + "has already finished course" + courseId);
        this.courseId = courseId;
        this.idStudent = idStudent; 
    }

}
